package Day17.intereface_.Two;

/**
 * @author HYHwtx
 * @version 1.0
 * @date 2022/2/24 14:56
 */
public class Db2 implements  DBInterface{

    @Override
    public void connect() {
        System.out.println("连接DB2数据库。");
    }

    @Override
    public void close() {
        System.out.println("关闭DB2数据库。");
    }
}
